﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
/*
Copyright 2011 Mirosław M. Mączka

This file is part of MobiLang.

    MobiLang is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    Foobar is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Foobar; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

*/
namespace MobiLang
{
    public class ClMobiType
    {
        public static string ToText(int mt)
        {
            switch (mt)
            {
            case 2: return "Mobipocket Book(2)";
            case 3: return "PalmDoc Book(3)";
            case 4: return "Audio(4)";
            case 257: return "News(257)";
            case 258: return "News_Feed(258)";
            case 259: return "News_Magazine(259)";
            case 513: return "PICS(513)";
            case 514: return "WORD(514)";
            case 515: return "XLS(515)";
            case 516: return "PPT(516)";
            case 517: return "TEXT(517)";
            case 518: return "HTML(518)";
            }
            return string.Format("Unknown:{0}", mt);
        }
    }
}
